package jing.exception;


public class TestException extends Exception {

	private String message;
	//通过构造方法获得系统异常信息
	public TestException(String message) {
		//调用系统的Exception类，传入异常信息
		super(message);
		this.message = message;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}
	
}
